﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Build.Utilities;
using System.Xml.Serialization;
using System.IO;

namespace Genuilder.Extensibility.Targets
{
	public class ExtensibilityCleanTask : Task, IExtensibilityTask
	{
		#region IExtensibilityTask Members

		public string OutputPath
		{
			get;
			set;
		}

		public string Data
		{
			get;
			set;
		}

		#endregion



		public override bool Execute()
		{
			//var report = this.GetGenerationReport();
			//if(report == null)
			//    return true;
			//foreach(var file in report.GeneratedFiles)
			//{
			//    if(File.Exists(file))
			//        File.Delete(file);
			//}
			//this.GetGenerationReportFile().Delete();
			return true;
		}
	}
}
